package com.zf.shuashua.advert.mg;

import android.app.Activity
import androidx.annotation.NonNull
import com.zf.shuashua.advert.mg.RewardListener

interface IAdProvider {

    /**
     * 判断原生广告对象是否属于这个提供商
     */
    fun isBelongTheProvider(

            @NonNull adObject: Any

    ): Boolean

    fun requestRewardAd(
            @NonNull activity: Activity,
            @NonNull adProviderType: String,
            @NonNull alias: String,
            @NonNull listener: RewardListener
    )

    fun showRewardAd(
            @NonNull activity: Activity
    )

}